package com.leyou.search.dto;

import lombok.Data;

import java.util.Map;

@Data
public class SearchRequest {
    //查询条件
    private String key;
    //当前页
    private Integer page;
    //排序规则
    private String sortBy;
    //排序方式
    private Boolean desc;

    private Map<String, String> filters;
    private Integer rows = 20;
}
